cmake_minimum_required(VERSION 3.25.1)
project(main)

find_package(OpenCV REQUIRED)
message(STATUS "OpenCV library status:")
message(STATUS "    version: ${OpenCV_VERSION}")
message(STATUS "    libraries: ${OpenCV_LIBS}")
message(STATUS "    include path: ${OpenCV_INCLUDE_DIRS}")
find_package(Boost COMPONENTS program_options REQUIRED)
message(STATUS "Boost library status:")
message(STATUS "    version: ${Boost_VERSION}")
message(STATUS "    libraries: ${Boost_LIBS}")
message(STATUS "    include path: ${Boost_INCLUDE_DIRS}")

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_BUILD_TYPE "Release")
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR})

aux_source_directory("." SOURCES)
aux_source_directory("./src" SOURCES)
add_executable(main ${SOURCES})

include_directories("./inc")
target_link_libraries(main PRIVATE ${OpenCV_LIBS} boost_program_options)
